import type {App, Component} from "vue";
import { SvgIcon} from "./SvgIcon";
import { IconifyIcon } from "./IconifyIcon";
import { SwitchDark } from "./ SwitchDark";

const Components:{
    [propName: string]: Component
} = {
    SvgIcon,
    IconifyIcon,
    SwitchDark
}

export default {
    install:(app: App) => {
        Object.keys(Components).forEach((key)=>{
            app.component(key, Components[key])
        })
    }
}